package cn.ibobo.lease.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 物品租赁表实体类DTO
 * @Author lililiang
 * @Date 2018-12-13 18:36:40
 */

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("物品租赁表实体类DTO")
public class ResLeaseDTO {

	@ApiModelProperty(value = "id", required = false)
	private String id;
	@ApiModelProperty(value = "用户id", required = false)
	private String uid;
	@ApiModelProperty(value = "租赁物品id", required = false)
	private String lid;
	@ApiModelProperty(value = "租赁时间", required = false)
	private String createtm;
	@ApiModelProperty(value = "租赁人员id", required = false)
	private String aid;
	@ApiModelProperty(value = "租赁点id", required = false)
	private String bid;
	@ApiModelProperty(value = "退回时间", required = false)
	private String backtm;
	@ApiModelProperty(value = "返回操作人员", required = false)
	private String backaid;
	@ApiModelProperty(value = "归还租赁点id", required = false)
	private String backbid;
	@ApiModelProperty(value = "押金", required = false)
	private BigDecimal deposit;
	@ApiModelProperty(value = "价格", required = false)
	private BigDecimal price;
	@ApiModelProperty(value = "其他费用", required = false)
	private BigDecimal other;
	@ApiModelProperty(value = "租赁费用", required = false)
	private BigDecimal leacost;
	@ApiModelProperty(value = "总费用", required = false)
	private BigDecimal totalcost;
	@ApiModelProperty(value = "备注", required = false)
	private String remark;
	@ApiModelProperty(value = "0 申请租赁中  1 租赁中  2 已退租  3 故障维修中 4 已评价", required = false)
	private Integer status;
	@ApiModelProperty(value = "用户姓名，查询结果", required = false)
	private String unickname;
	@ApiModelProperty(value = "租赁品名称，查询结果", required = false)
	private String lname;
	@ApiModelProperty(value = "租赁点人员姓名，查询结果", required = false)
	private String anickname;
	@ApiModelProperty(value = "租赁点名称，查询结果", required = false)
	private String bname;
	@ApiModelProperty(value = "归还租赁点人员姓名，查询结果", required = false)
	private String banickname;
	@ApiModelProperty(value = "归还租赁点名称，查询结果", required = false)
	private String bbname;
	@ApiModelProperty(value = "租赁物品详情id", required = false)
	private String did;
	@ApiModelProperty(value = "租用小时数", required = false)
	private Integer hour;
	@ApiModelProperty(value = "评价", required = false)
	private String appraise;
	
}
